const option1 = {
    title: {
        text: "分子社区",
        top: "20",
        left: "40",
        textStyle: {
            color: '#e6e9f5',
            fontSize: 17,
            fontWeight: 'bold'
        }
    },
    tooltip: {},
    legend: [{
        show: false,
        data: ["类目0", "类目1", "类目2", "类目3", "类目4", "类目5", "类目6", "类目7", "类目8"]
    }],
    animationDuration: 1500,
    animationEasingUpdate: "quinticInOut",
    series: [{
        name: "分子社区",
        type: "graph",
        layout: "force",
        data: [{
            id: "1",
            name: "Napoleon",
            symbolSize: 2.6666666666666665,
            x: -83.616688,
            y: 89.37706,
            value: 4,
            category: 0
        }, {
            id: "2",
            name: "MlleBaptistine",
            symbolSize: 6.323809333333333,
            x: -42.552713999999995,
            y: 49.058352,
            value: 9.485714,
            category: 1
        }, {
            id: "10",
            name: "Labarre",
            symbolSize: 2.6666666666666665,
            x: -17.868214000000002,
            y: 46.912256,
            value: 4,
            category: 1
        }, {
            id: "11",
            name: "我们没有放弃为香港争取民主",
            symbolSize: 66.66666666666667,
            x: -17.586058,
            y: -1.3624113,
            value: 100,
            category: 1,
            label: {
                show: true,
                formatter: function(obj) {
                    const {
                        name
                    } = obj;
                    return [
                        '{a|""}',
                        `{b|${name}}`
                    ].join('\n')
                },
                rich: {
                    a: {
                        align: 'center',
                        height: 130,
                        width: 1,
                    },
                    b: {
                        color: '#b3b9c7',
                        fontSize: 14,
                        height: 40,
                        width: 280,
                        align: 'center',
                        lineHeight: 42,
                        backgroundColor: '#fff',
                        opacity: 1,
                    }
                }
            }
        }, {
            id: "12",
            name: "Marguerite",
            symbolSize: 4.495239333333333,
            x: -67.955816,
            y: -36.938278000000004,
            value: 6.742859,
            category: 1
        }, {
            id: "13",
            name: "MmeDeR",
            symbolSize: 2.6666666666666665,
            x: -38.862626,
            y: 35.710602,
            value: 4,
            category: 1
        }, {
            id: "14",
            name: "Isabeau",
            symbolSize: 2.6666666666666665,
            x: -31.610336,
            y: 40.399536,
            value: 4,
            category: 1
        }, {
            id: "53",
            name: "MlleVaubois",
            symbolSize: 2.6666666666666665,
            x: 33.087878,
            y: 67.95472,
            value: 4,
            category: 6
        }, {
            id: "54",
            name: "LtGillenormand",
            symbolSize: 8.152382000000001,
            x: 27.538695999999998,
            y: 39.221379999999996,
            value: 12.228573,
            category: 6
        }, {
            id: "55",
            name: "Marius",
            symbolSize: 35.58095333333333,
            x: 41.289373999999995,
            y: -2.7610821999999997,
            value: 53.37143,
            category: 6
        }, {
            id: "56",
            name: "BaronessT",
            symbolSize: 4.495239333333333,
            x: 38.965986,
            y: 44.956072,
            value: 6.742859,
            category: 6
        }, {
            id: "59",
            name: "Combeferre",
            symbolSize: 20.95238266666667,
            x: 103.05922000000001,
            y: -9.2335128,
            value: 31.428574,
            category: 8
        }, {
            id: "60",
            name: "Prouvaire",
            symbolSize: 17.295237333333333,
            x: 122.85857000000001,
            y: -13.86208,
            value: 25.942856,
            category: 8
        }, {
            id: "64",
            name: "Bossuet",
            symbolSize: 24.609526666666667,
            x: 91.16391,
            y: -23.091652,
            value: 36.91429,
            category: 8
        }, {
            id: "65",
            name: "Joly",
            symbolSize: 22.780953333333333,
            x: 103.281568,
            y: 9.4484466,
            value: 34.17143,
            category: 8
        }, {
            id: "66",
            name: "Grantaire",
            symbolSize: 19.12381,
            x: 129.28626,
            y: -30.212662,
            value: 28.685715,
            category: 8
        }, {
            id: "70",
            name: "Claquesous",
            symbolSize: 19.12381,
            x: 27.47434,
            y: -82.05618,
            value: 28.685715,
            category: 7
        }, {
            id: "71",
            name: "Montparnasse",
            symbolSize: 17.295237333333333,
            x: 46.975494,
            y: -80.171966,
            value: 25.942856,
            category: 7
        }, {
            id: "75",
            name: "Brujon",
            symbolSize: 13.638097333333334,
            x: 47.758728000000005,
            y: -62.812689999999996,
            value: 20.457146,
            category: 7
        }, {
            id: "76",
            name: "MmeHucheloup",
            symbolSize: 13.638097333333334,
            x: 142.43670600000002,
            y: 0.9626298999999999,
            value: 20.457146,
            category: 8
        }],
        links: [{
                id: "0",
                source: "1",
                target: "0"
            }, {
                id: "1",
                source: "2",
                target: "0"
            }, {
                id: "2",
                source: "3",
                target: "0"
            }, {
                id: "3",
                source: "3",
                target: "2"
            }, {
                id: "4",
                source: "4",
                target: "0"
            }, {
                id: "5",
                source: "5",
                target: "0"
            }, {
                id: "6",
                source: "6",
                target: "0"
            }, {
                id: "7",
                source: "7",
                target: "0"
            }, {
                id: "8",
                source: "8",
                target: "0"
            }, {
                id: "9",
                source: "9",
                target: "0"
            }, {
                id: "13",
                source: "11",
                target: "0"
            }, {
                id: null,
                source: "11",
                target: "2"
            }, {
                id: "11",
                source: "11",
                target: "3"
            }, {
                id: "10",
                source: "11",
                target: "10"
            }, {
                id: "14",
                source: "12",
                target: "11"
            }, {
                id: "15",
                source: "13",
                target: "11"
            }, {
                id: "16",
                source: "14",
                target: "11"
            }, {
                id: "17",
                source: "15",
                target: "11"
            }, {
                id: "18",
                source: "17",
                target: "16"
            }, {
                id: "19",
                source: "18",
                target: "16"
            }, {
                id: "20",
                source: "18",
                target: "17"
            }, {
                id: "21",
                source: "19",
                target: "16"
            }, {
                id: "22",
                source: "19",
                target: "17"
            }, {
                id: "23",
                source: "19",
                target: "18"
            }, {
                id: "24",
                source: "20",
                target: "16"
            }, {
                id: "25",
                source: "20",
                target: "17"
            }, {
                id: "26",
                source: "20",
                target: "18"
            }, {
                id: "27",
                source: "20",
                target: "19"
            }, {
                id: "28",
                source: "21",
                target: "16"
            }, {
                id: "29",
                source: "21",
                target: "17"
            }, {
                id: "30",
                source: "21",
                target: "18"
            }, {
                id: "31",
                source: "21",
                target: "19"
            }, {
                id: "32",
                source: "21",
                target: "20"
            }, {
                id: "33",
                source: "22",
                target: "16"
            }, {
                id: "34",
                source: "22",
                target: "17"
            }, {
                id: "35",
                source: "22",
                target: "18"
            }, {
                id: "36",
                source: "22",
                target: "19"
            }, {
                id: "37",
                source: "22",
                target: "20"
            }, {
                id: "38",
                source: "22",
                target: "21"
            }, {
                id: "47",
                source: "23",
                target: "11"
            }, {
                id: "46",
                source: "23",
                target: "12"
            }, {
                id: "39",
                source: "23",
                target: "16"
            }, {
                id: "40",
                source: "23",
                target: "17"
            }, {
                id: "41",
                source: "23",
                target: "18"
            }, {
                id: "42",
                source: "23",
                target: "19"
            }, {
                id: "43",
                source: "23",
                target: "20"
            }, {
                id: "44",
                source: "23",
                target: "21"
            }, {
                id: "45",
                source: "23",
                target: "22"
            }, {
                id: null,
                source: "24",
                target: "11"
            }, {
                id: "48",
                source: "24",
                target: "23"
            }, {
                id: "52",
                source: "25",
                target: "11"
            }, {
                id: "51",
                source: "25",
                target: "23"
            }, {
                id: "50",
                source: "25",
                target: "24"
            }, {
                id: null,
                source: "26",
                target: "11"
            }, {
                id: null,
                source: "26",
                target: "16"
            }, {
                id: "53",
                source: "26",
                target: "24"
            }, {
                id: "56",
                source: "26",
                target: "25"
            }, {
                id: "57",
                source: "27",
                target: "11"
            }, {
                id: "58",
                source: "27",
                target: "23"
            }, {
                id: null,
                source: "27",
                target: "24"
            }, {
                id: "59",
                source: "27",
                target: "25"
            }, {
                id: "61",
                source: "27",
                target: "26"
            }, {
                id: "62",
                source: "28",
                target: "11"
            }, {
                id: "63",
                source: "28",
                target: "27"
            }, {
                id: "66",
                source: "29",
                target: "11"
            }, {
                id: "64",
                source: "29",
                target: "23"
            }, {
                id: "65",
                source: "29",
                target: "27"
            }, {
                id: "67",
                source: "30",
                target: "23"
            }, {
                id: null,
                source: "31",
                target: "11"
            }, {
                id: null,
                source: "31",
                target: "23"
            }, {
                id: null,
                source: "31",
                target: "27"
            }, {
                id: "68",
                source: "31",
                target: "30"
            }, {
                id: "72",
                source: "32",
                target: "11"
            }, {
                id: "73",
                source: "33",
                target: "11"
            }, {
                id: "74",
                source: "33",
                target: "27"
            }, {
                id: "75",
                source: "34",
                target: "11"
            }, {
                id: "76",
                source: "34",
                target: "29"
            }, {
                id: "77",
                source: "35",
                target: "11"
            }, {
                id: null,
                source: "35",
                target: "29"
            }, {
                id: "78",
                source: "35",
                target: "34"
            }, {
                id: "82",
                source: "36",
                target: "11"
            }, {
                id: "83",
                source: "36",
                target: "29"
            }, {
                id: "80",
                source: "36",
                target: "34"
            }, {
                id: "81",
                source: "36",
                target: "35"
            }, {
                id: "87",
                source: "37",
                target: "11"
            }, {
                id: "88",
                source: "37",
                target: "29"
            }, {
                id: "84",
                source: "37",
                target: "34"
            }, {
                id: "85",
                source: "37",
                target: "35"
            }, {
                id: "86",
                source: "37",
                target: "36"
            }, {
                id: "93",
                source: "38",
                target: "11"
            }, {
                id: "157",
                source: "61",
                target: "57"
            }, {
                id: "154",
                source: "61",
                target: "58"
            }, {
                id: "156",
                source: "61",
                target: "59"
            }, {
                id: "155",
                source: "61",
                target: "60"
            }, {
                id: "164",
                source: "62",
                target: "41"
            }, {
                id: null,
                source: "63",
                target: "60"
            },
            {
                id: "222",
                source: "70",
                target: "24"
            }, {
                id: "218",
                source: "70",
                target: "25"
            }, {
                id: "223",
                source: "70",
                target: "27"
            }, {
                id: "224",
                source: "70",
                target: "41"
            }, {
                id: "225",
                source: "70",
                target: "58"
            }, {
                id: "220",
                source: "70",
                target: "68"
            }, {
                id: "219",
                source: "70",
                target: "69"
            }, {
                id: "230",
                source: "71",
                target: "11"
            }, {
                id: "233",
                source: "71",
                target: "25"
            }, {
                id: "226",
                source: "71",
                target: "27"
            }, {
                id: "232",
                source: "71",
                target: "41"
            }, {
                id: null,
                source: "71",
                target: "48"
            }, {
                id: "228",
                source: "71",
                target: "68"
            }, {
                id: "227",
                source: "71",
                target: "69"
            }, {
                id: "229",
                source: "71",
                target: "70"
            }, {
                id: "236",
                source: "72",
                target: "11"
            }, {
                id: "234",
                source: "72",
                target: "26"
            }, {
                id: "235",
                source: "72",
                target: "27"
            }, {
                id: "237",
                source: "73",
                target: "48"
            }, {
                id: "238",
                source: "74",
                target: "48"
            }, {
                id: "239",
                source: "74",
                target: "73"
            }, {
                id: "242",
                source: "75",
                target: "25"
            }, {
                id: "244",
                source: "75",
                target: "41"
            }, {
                id: null,
                source: "75",
                target: "48"
            }, {
                id: "241",
                source: "75",
                target: "68"
            }, {
                id: "240",
                source: "75",
                target: "69"
            }, {
                id: "245",
                source: "75",
                target: "70"
            }, {
                id: "246",
                source: "75",
                target: "71"
            }, {
                id: "252",
                source: "76",
                target: "48"
            }, {
                id: "253",
                source: "76",
                target: "58"
            }, {
                id: "251",
                source: "76",
                target: "62"
            }, {
                id: "250",
                source: "76",
                target: "63"
            }, {
                id: "247",
                source: "76",
                target: "64"
            }, {
                id: "248",
                source: "76",
                target: "65"
            }, {
                id: "249",
                source: "76",
                target: "66"
            }
        ],
        categories: [{
            name: "类目0"
        }, {
            name: "类目1"
        }, {
            name: "类目2"
        }, {
            name: "类目3"
        }, {
            name: "类目4"
        }, {
            name: "类目5"
        }, {
            name: "类目6"
        }, {
            name: "类目7"
        }, {
            name: "类目8"
        }],
        legendHoverLink: true,
        circular: {
            rotateLabel: false
        },
        force: {
            repulsion: 30,
            layoutAnimation: true,
            gravity: 0.11,
            edgeLength: 50,
            friction: 0.63
        },
        roam: "scale",
        symbolRotate: 10,
        symbolKeepAspect: true,
        symbolOffset: [0, 4]
    }]
}